home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / ntsp3 / nt4sp3_i.exe / [0] / net.hlp < prev    next >
Text (UTF-16)  |  1997-05-01  |  116KB  |  1,313 lines

  1. /*Copyright (c) 1991-1993 Microsoft Corporation
  2.  
  3. Module Name:
  4.  
  5.     net.hlp
  6.  
  7. Abstract:
  8.  
  9.     This file contains the help text used by the net command.  It is used
  10.     as is by the net command (e.g. it isn't "built" into some other form).
  11.  
  12. Environment:
  13.  
  14.     User Mode - Win32
  15.     Portable to any flat, 32-bit environment.  (Uses Win32 typedefs.)
  16.     Requires ANSI C extensions: slash-slash comments.
  17.  
  18. Notes:
  19.  
  20.     You will find the documentation on how this file is formatted at the end
  21.     of this file.
  22.  
  23. --*/
  24.  
  25. %A CONTINUE:     CONT
  26. %A FILE:     FILES
  27. %A GROUP:     GROUPS
  28. %A REPLICATOR: REPL, REPLICATOR
  29. %A SESSION:     SESSIONS, SESS
  30. %A STATISTICS:     STATS
  31. %A USER:     USERS
  32. %A WORKSTATION:     REDIRECTOR, REDIR, RDR, WORK, WKSTA, PRDR, DEVRDR
  33. %A MESSENGER:     MSG, RECEIVER, RCV
  34. %A SERVER:     SVR,  SRV
  35.  
  36. !C NET
  37. !C NAMES
  38. !C SYNTAX
  39. !C SERVICES
  40.  
  41. .1 SERVICES
  42. :1 
  43.  
  44.    Help is available only in the online Command Reference (NTCMDS.HLP) for
  45.    starting these network services:
  46.  
  47.       NET START ALERTER                      
  48.       NET START CLIENT SERVICE FOR NETWARE  
  49.       NET START CLIPBOOK SERVER              
  50.       NET START COMPUTER BROWSER             
  51.       NET START DHCP CLIENT
  52.       NET START DIRECTORY REPLICATOR         
  53.       NET START EVENTLOG                     
  54.       NET START FTP SERVER                   
  55.       NET START LPDSVC
  56.       NET START MESSENGER                    
  57.       NET START NET LOGON                    
  58.       NET START NETWORK DDE                  
  59.       NET START NETWORK DDE DSDM             
  60.       NET START NETWORK MONITORING AGENT
  61.       NET START NT LM SECURITY SUPPORT PROVIDER
  62.       NET START REMOTE ACCESS CONNECTION MANAGER
  63.       NET START REMOTE ACCESS ISNSAP SERVICE
  64.       NET START REMOTE ACCESS SERVER
  65.       NET START REMOTE PROCEDURE CALL (RPC) LOCATOR
  66.       NET START REMOTE PROCEDURE CALL (RPC) SERVICE
  67.       NET START SCHEDULE
  68.       NET START SERVER
  69.       NET START SIMPLE TCP/IP SERVICES
  70.       NET START SNMP
  71.       NET START SPOOLER
  72.       NET START TCPIP NETBIOS HELPER
  73.       NET START UPS
  74.       NET START WORKSTATION
  75.  
  76.    These services are available only on Windows NT Server:
  77.  
  78.       NET START FILE SERVER FOR MACINTOSH    
  79.       NET START GATEWAY SERVICE FOR NETWARE  
  80.       NET START MICROSOFT DHCP SERVER
  81.       NET START PRINT SERVER FOR MACINTOSH
  82.       NET START REMOTEBOOT
  83.       NET START WINDOWS INTERNET NAME SERVICE
  84.  
  85.    When typed at the command prompt, service names of two words or more must 
  86.    be enclosed in quotation marks. For example, NET START "COMPUTER BROWSER"
  87.    starts the computer browser service.
  88.  
  89. #1
  90. $1 There are no options for this topic. This topic is a list of 
  91.    network services that can be started. It is not a NET command.
  92.  
  93. .1 SYNTAX
  94. :1
  95.  
  96.    The following conventions are used to indicate command syntax:
  97.  
  98.    -  Capital letters represent words that must be typed as shown. Lower-
  99.       case letters represent names of items that may vary, such as filenames.
  100.  
  101.    -  The [ and ] characters surround optional items that can be supplied
  102.       with the command.
  103.  
  104.    -  The { and } characters surround lists of items. You must supply one
  105.       of the items with the command.
  106.  
  107.    -  The | character separates items in a list. Only one of the items can
  108.       be supplied with the command.
  109.  
  110.       For example, in the following syntax, you must type NET COMMAND and
  111.       either SWITCH1 or SWITCH2. Supplying a name is optional.
  112.           NET COMMAND [name] {SWITCH1 | SWITCH2}
  113.  
  114.    -  The [...] characters mean you can repeat the previous item.
  115.       Separate items with spaces.
  116.  
  117.    -  The [,...] characters mean you can repeat the previous item, but
  118.       you must separate items with commas or semicolons, not spaces.
  119.  
  120.    -  When typed at the command prompt, service names of two words or 
  121.       more must    be enclosed in quotation marks. For example, 
  122.       NET START "COMPUTER BROWSER" starts the computer browser service.
  123. #1
  124. $1 There are no options for this topic. This topic is about how to
  125.    read syntax lines. It is not a NET command.
  126.  
  127. .1 NET
  128. .2     ACCOUNTS
  129. :2              [/FORCELOGOFF:{minutes | NO}] [/MINPWLEN:length]
  130.                 [/MAXPWAGE:{days | UNLIMITED}] [/MINPWAGE:days]
  131.                 [/UNIQUEPW:number] [/DOMAIN]
  132.    NET ACCOUNTS [/SYNC]
  133.  
  134. #2 NET ACCOUNTS updates the user accounts database and modifies password 
  135.    and logon requirements for all accounts. 
  136.    When used without options, NET ACCOUNTS displays the current settings for
  137.    password, logon limitations, and domain information.
  138.  
  139.    Two conditions are required in order for options used with 
  140.    NET ACCOUNTS to take effect:
  141.  
  142.    þ  The password and logon requirements are only effective if user 
  143.       accounts have been set up (use User Manager or the NET USER command).
  144.  
  145.    þ  The Net Logon service must be running on all servers in the domain 
  146.       that verify logon. Net Logon is started automatically when Windows NT 
  147.       starts.
  148.  
  149.    /SYNC                         Updates the user accounts database.
  150.    /FORCELOGOFF:{minutes | NO}   Sets the number of minutes a user has 
  151.                                  before being forced to log off when the 
  152.                                  account expires or valid logon hours expire.
  153.                                  NO, the default, prevents forced logoff.
  154.    /MINPWLEN:length              Sets the minimum number of characters for
  155.                                  a password. The range is 0-14 characters;
  156.                                  the default is 6 characters.
  157.    /MAXPWAGE:{days | UNLIMITED}  Sets the maximum number of days that a 
  158.                                  password is valid. No limit is specified
  159.                                  by using UNLIMITED. /MAXPWAGE can't be less 
  160.                                  than /MINPWAGE. The range is 1-49710; the 
  161.                                  default is 90 days.
  162.    /MINPWAGE:days                Sets the minimum number of days that must 
  163.                                  pass before a user can change a password. 
  164.                                  A value of 0 sets no minimum time. The range 
  165.                                  is 0-49710; the default is 0 days. /MINPWAGE 
  166.                                  can't be more than /MAXPWAGE.
  167.    /UNIQUEPW:number              Requires that a user's passwords be unique 
  168.                                  through the specified number of password 
  169.                                  changes. The maximum value is 24.
  170.    /DOMAIN                       Performs the operation on the primary domain
  171.                                  controller of the current domain. Otherwise,
  172.                                  the operation is performed on the local 
  173.                                  computer.
  174.  
  175.                                  This parameter applies only to Windows NT 
  176.                                  Workstation computers that are members of 
  177.                                  a Windows NT Server domain. By default, 
  178.                                  Windows NT Server computers perform 
  179.                                  operations on the primary domain controller.
  180.  
  181.    NET HELP command | MORE displays Help one screen at a time.
  182. $2 
  183.    NET HELP ACCOUNTS describes the options for this command.
  184. .2     COMPUTER
  185. :2              \\computername {/ADD | /DEL}
  186. #2   NET COMPUTER adds or deletes computers from a domain database. This 
  187.      command is available only on Windows NT Servers.
  188.  
  189.    \\computername    Specifies the computer to add or delete from
  190.                      the domain.
  191.    /ADD              Adds the specified computer to the domain.
  192.    /DEL              Removes the specified computer from the domain.
  193. $2 
  194.    NET HELP COMPUTER describes the options for this command.
  195. .2     CONFIG
  196. .3            SERVER
  197. :3                   [/AUTODISCONNECT:time]
  198.                      [/SRVCOMMENT:"text"]
  199.                      [/HIDDEN:{YES | NO}]
  200. #3 NET CONFIG SERVER displays or changes settings for the Server service.
  201.  
  202.    /AUTODISCONNECT:time    Sets the maximum number of minutes a user's 
  203.                            session can be inactive before it is disconnected.
  204.                            You can specify -1 to never disconnect. The range 
  205.                            is -1-65535 minutes; the default is 15. 
  206.    /SRVCOMMENT:"text"      Adds a comment for the server that is displayed in
  207.                            Windows NT Screens and with the NET VIEW command. 
  208.                            The comment can have as many as 48 characters. 
  209.                            Enclose the text in quotation marks. 
  210.    /HIDDEN:{YES | NO}      Specifies whether the server's computername 
  211.                            appears on display listings of servers. Note that
  212.                            hiding a server does not alter the permissions 
  213.                            on that server. The default is NO. 
  214.  
  215.    To display the current configuration for the Server service, 
  216.    type NET CONFIG SERVER without parameters.
  217.  
  218.    NET HELP command | MORE displays Help one screen at a time.
  219.  
  220. $3
  221.  
  222.    NET HELP CONFIG SERVER describes the options for this command.
  223. .3            WORKSTATION
  224. :3                        [/CHARCOUNT:bytes]
  225.                           [/CHARTIME:msec]
  226.                           [/CHARWAIT:sec]
  227. #3 NET CONFIG WORKSTATION displays or changes settings for 
  228.    the Workstation service.
  229.  
  230.    /CHARCOUNT:bytes   Specifies the amount of data Windows NT collects 
  231.                       before sending the data to a communication device. 
  232.                       If /CHARTIME:msec is also set, Windows NT acts on 
  233.                       whichever option is satisfied first. 
  234.                       The range is 0-65535 bytes; the default is 16 bytes. 
  235.    /CHARTIME:msec     Sets the number of milliseconds Windows NT collects 
  236.                       data before sending the data to a communication device.
  237.                       If /CHARCOUNT:bytes is also set, Windows NT acts on 
  238.                       whichever option is satisfied first. The range 
  239.                       is 0-65535000 milliseconds; the default is 
  240.                       250 milliseconds. 
  241.    /CHARWAIT:sec      Sets the number of seconds Windows NT waits for a
  242.                       communication device to become available. The range 
  243.                       is 0-65535 seconds; the default is 3600 seconds. 
  244.  
  245.    To display the current configuration for the Workstation service, 
  246.    type NET CONFIG WORKSTATION without parameters.
  247.  
  248.    NET HELP command | MORE displays Help one screen at a time.
  249. $3
  250.  
  251.    NET HELP CONFIG WORKSTATION describes the options for this command.
  252. :2            [SERVER | WORKSTATION]
  253. #2 NET CONFIG displays configuration information of the Workstation or 
  254.    Server service. When used without the SERVER or WORKSTATION switch, 
  255.    it displays a list of configurable services. To get help with 
  256.    configuring a service, type NET HELP CONFIG service.
  257.  
  258.    SERVER        Displays information about the configuration of 
  259.                  the Server service.
  260.    WORKSTATION   Displays information about the configuration of 
  261.                  the Workstation service.
  262.  
  263.    NET HELP command | MORE displays Help one screen at a time.
  264. $2
  265.  
  266.    NET HELP CONFIG describes the options for this command.
  267. .2     CONTINUE
  268. :2              service
  269.  
  270. #2 NET CONTINUE reactivates a Windows NT service that has been 
  271.    suspended by NET PAUSE.
  272.  
  273.    service             Is the paused service.
  274.                        Can be one of the following:
  275.                        FILE SERVER FOR MACINTOSH
  276.                        FTP SERVER
  277.                        LPDSVC
  278.                        NET LOGON
  279.                        NETWORK DDE
  280.                        NETWORK DDE DSDM
  281.                        NT LM SECURITY SUPPORT PROVIDER
  282.                        REMOTEBOOT
  283.                        REMOTE ACCESS SERVER
  284.                        SCHEDULE
  285.                        SERVER
  286.                        SIMPLE TCP/IP SERVICES
  287.                        WORKSTATION
  288.  
  289.    NET HELP command | MORE displays Help one screen at a time.
  290. $2        
  291.  
  292.    NET HELP CONTINUE describes the options for this command.
  293. .2     FILE
  294. :2          [id [/CLOSE]]
  295. #2 NET FILE closes a shared file and removes file locks. When used without
  296.    options, it lists the open files on a server. The listing includes the
  297.    identification number assigned to an open file, the pathname of the file,
  298.    the username, and the number of locks on the file. 
  299.  
  300.    This command works only on computers running the Server service.
  301.  
  302.    id      Is the identification number of the file.
  303.    /CLOSE  Closes an open file and removes file locks. Type this command 
  304.            from the server where the file is shared.
  305.  
  306.    NET HELP command | MORE displays Help one screen at a time.
  307. $2        
  308.  
  309.    NET HELP FILE describes the options for this command.
  310. .2     GROUP
  311. :2           [groupname [/COMMENT:"text"]] [/DOMAIN]
  312.              groupname {/ADD [/COMMENT:"text"] | /DELETE}  [/DOMAIN]
  313.              groupname username [...] {/ADD | /DELETE} [/DOMAIN]
  314. #2 NET GROUP adds, displays, or modifies global groups on servers. Used 
  315.    without parameters, it displays the groupnames on the server.
  316.  
  317.    groupname        Is the name of the group to add, expand, or delete. 
  318.                     Supply only a groupname to view a list of users 
  319.                     in a group. 
  320.    /COMMENT:"text"  Adds a comment for a new or existing group. 
  321.                     The comment can have as many as 48 characters. Enclose 
  322.                     the text in quotation marks. 
  323.    /DOMAIN          Performs the operation on the primary domain controller
  324.                     of the current domain. Otherwise, the operation is 
  325.                     performed on the local computer. 
  326.                     This parameter applies only to Windows NT 
  327.                     Workstation computers that are members of 
  328.                     a Windows NT Server domain. By default, 
  329.                     Windows NT Server computers perform 
  330.                     operations on the primary domain controller. 
  331.    username[ ...]   Lists one or more usernames to add to or remove from 
  332.                     a group. Separate multiple username entries with a space. 
  333.    /ADD             Adds a group, or adds a username to a group. 
  334.    /DELETE          Removes a group, or removes a username from a group. 
  335.  
  336.    NET HELP command | MORE displays Help one screen at a time.
  337. $2        
  338.  
  339.    NET HELP GROUP describes the options for this command.
  340. .2   HELP
  341. :2      command 
  342.          -or-
  343.    NET command /HELP
  344. #2    Commands available are:
  345.  
  346.       NET ACCOUNTS             NET HELP              NET SHARE     
  347.       NET COMPUTER             NET HELPMSG           NET START     
  348.       NET CONFIG               NET LOCALGROUP        NET STATISTICS
  349.       NET CONFIG SERVER        NET NAME              NET STOP      
  350.       NET CONFIG WORKSTATION   NET PAUSE             NET TIME      
  351.       NET CONTINUE             NET PRINT             NET USE       
  352.       NET FILE                 NET SEND              NET USER      
  353.       NET GROUP                NET SESSION           NET VIEW      
  354.  
  355.       NET HELP SERVICES lists the network services you can start.
  356.       NET HELP SYNTAX explains how to read NET HELP syntax lines.
  357.       NET HELP command | MORE displays Help one screen at a time.
  358. $2        
  359.  
  360.    NET HELP describes the options for this command.
  361. .2     HELPMSG
  362. :2             message#
  363. #2 NET HELPMSG displays information about Windows NT network messages 
  364.    (such as error, warning, and alert messages). When you type NET HELPMSG and
  365.    the 4-digit number of the Windows NT error (for example, NET2182), 
  366.    Windows NT tells you about the message and suggests action you can take 
  367.    to solve a problem. 
  368.  
  369.    message#  Is the 4-digit number of the Windows NT message you need help
  370.              with. You don't need to type NET as part of the message number.
  371. $2        
  372.  
  373.    NET HELP HELPMSG describes the options for this command.
  374. .2     LOCALGROUP
  375. :2               [groupname [/COMMENT:"text"]] [/DOMAIN]
  376.                  groupname {/ADD [/COMMENT:"text"] | /DELETE}  [/DOMAIN]
  377.                  groupname name [...] {/ADD | /DELETE} [/DOMAIN]
  378. #2 NET LOCALGROUP modifies local groups on computers. When used without 
  379.    options, it displays the local groups on the computer.
  380.  
  381.    groupname        Is the name of the local group to add, expand, or
  382.                     delete. Supply only a groupname to view a list of
  383.                     users or global groups in a local group.
  384.    /COMMENT:"text"  Adds a comment for a new or existing group. 
  385.                     Enclose the text in quotation marks. 
  386.    /DOMAIN          Performs the operation on the domain controller 
  387.                     of the current domain. Otherwise, the operation is 
  388.                     performed on the local workstation. 
  389.                     This parameter applies only to Windows NT 
  390.                     Workstation computers that are members of 
  391.                     a Windows NT Server domain. By default, 
  392.                     Windows NT Server computers perform 
  393.                     operations on the primary domain controller. 
  394.    name [ ...]      Lists one or more usernames or groupnames to add or to 
  395.                     remove from a local group. Separate multiple entries with 
  396.                     a space. Names may be users or global groups, but not 
  397.                     other local groups. If a user is from another domain, 
  398.                     preface the username with the domain name (for 
  399.                     example, SALES\RALPHR).
  400.    /ADD             Adds a groupname or username to a local group. An account 
  401.                     must be established for users or global groups added to a
  402.                     local group with this command.
  403.    /DELETE          Removes a groupname or username from a local group.
  404.  
  405.    NET HELP command | MORE displays Help one screen at a time.
  406. $2        
  407.  
  408.    NET HELP LOCALGROUP describes the options for this command.
  409. .2     NAME
  410. :2          [name [/ADD | /DELETE]]
  411. #2 NET NAME adds or deletes a messaging name (alias) at a computer. 
  412.    A messaging name is a name to which messages are sent. When used without 
  413.    options, NET NAME displays the names accepting messages at the computer.
  414.  
  415.    A computer's list of names comes from three places:
  416.  
  417.    þ  Message names, which are added with NET NAME
  418.  
  419.    þ  A computername, which is added as a name when the Workstation 
  420.       service is started. This name cannot be deleted.
  421.  
  422.    þ  A username, which is added as a name when you log on, if it 
  423.       is not being used at another computer. This name can be deleted.
  424.  
  425.    name      Specifies the name to receive messages. The name can have as 
  426.              many as 15 characters. 
  427.    /ADD      Adds a name to a computer. Typing /ADD is optional; typing 
  428.              NET NAME name works the same way as typing NET NAME name /ADD. 
  429.    /DELETE   Removes a name from a computer. 
  430.  
  431.    NET HELP command | MORE displays Help one screen at a time.
  432. $2        
  433.  
  434.    NET HELP NAME describes the options for this command.
  435. .2     PAUSE
  436. :2             service
  437.  
  438. #2 NET PAUSE suspends a Windows NT service or resource. Pausing a service
  439.    puts it on hold.
  440.  
  441.    service             Is the service to be paused. 
  442.                        Can be one of the following:
  443.                        FILE SERVER FOR MACINTOSH
  444.                        FTP SERVER
  445.                        LPDSVC
  446.                        NET LOGON
  447.                        NETWORK DDE
  448.                        NETWORK DDE DSDM
  449.                        NT LM SECURITY SUPPORT PROVIDER
  450.                        REMOTEBOOT
  451.                        REMOTE ACCESS SERVER
  452.                        SCHEDULE
  453.                        SERVER
  454.                        SIMPLE TCP/IP SERVICES
  455.                        WORKSTATION
  456.  
  457.    NET HELP command | MORE displays Help one screen at a time.
  458. $2
  459.  
  460.    NET HELP PAUSE describes the options for this command.
  461. .2     PRINT
  462. :2             \\computername\sharename
  463.              [\\computername] job# [/HOLD | /RELEASE | /DELETE]
  464.  
  465. #2 NET PRINT displays print jobs and shared queues.
  466.    For each queue, the display lists jobs, showing the size 
  467.    and status of each job, and the status of the queue.
  468.  
  469.    \\computername           Is the name of the computer sharing the printer
  470.                             queue(s).
  471.    sharename                Is the name of the shared printer queue. 
  472.    job#                     Is the identification number assigned to a print
  473.                             job. A computer with one or more printer queues
  474.                             assigns each print job a unique number.
  475.    /HOLD                    Prevents a job in a queue from printing.
  476.                             The job stays in the printer queue, and other 
  477.                             jobs bypass it until it is released. 
  478.    /RELEASE                 Reactivates a job that is held.
  479.    /DELETE                  Removes a job from a queue.
  480.  
  481.    NET HELP command | MORE displays Help one screen at a time.
  482. $2
  483.  
  484.    NET HELP PRINT describes the options for this command.
  485. .2     SEND
  486. :2          {name | * | /DOMAIN[:name] | /USERS} message
  487.  
  488. #2 Sends messages to other users, computers, or messaging names 
  489.    on the network. The Messenger service must be running to receive messages.
  490.  
  491.    You can send a message only to an name that is active on the network.
  492.    If the message is sent to a username, that user must be logged on
  493.    and running the Messenger service to receive the message.
  494.  
  495.    name                   Is the username, computername, or messaging name 
  496.                           to send the message to. If the name is a 
  497.                           computername that contains blank characters, 
  498.                           enclose the alias in quotation marks (" "). 
  499.    *                      Sends the message to all the names in your group. 
  500.    /DOMAIN[:name]         Sends the message to all the names in the 
  501.                           workstation domain. If name is specified, the 
  502.                           message is sent to all the names in the specified 
  503.                           domain or workgroup. 
  504.    /USERS                 Sends the message to all users connected to 
  505.                           the server.
  506.    message                Is text to be sent as a message. 
  507.  
  508.    NET HELP command | MORE displays Help one screen at a time.
  509. $2        
  510.  
  511.    NET HELP SEND describes the options for this command.
  512. .2     SESSION
  513. :2             [\\computername] [/DELETE]
  514. #2 NET SESSION lists or disconnects sessions between the computer and other
  515.    computers on the network. When used without options, it displays information
  516.    about all sessions with the computer of current focus.
  517.  
  518.    This command works only on servers.
  519.  
  520.    \\computername  Lists the session information for the named computer.
  521.    /DELETE         Ends the session between the local computer and 
  522.                    computername, and closes all open files on the computer
  523.                    for the session. If computername is omitted, 
  524.                    all sessions are ended.
  525.  
  526.    NET HELP command | MORE displays Help one screen at a time.
  527. $2        
  528.  
  529.    NET HELP SESSION describes the options for this command.
  530. .2     SHARE
  531. :2           sharename
  532.              sharename=drive:path [/USERS:number | /UNLIMITED]
  533.                                   [/REMARK:"text"]
  534.              sharename [/USERS:number | /UNLIMITED]
  535.                        [/REMARK:"text"]
  536.              {sharename | devicename | drive:path} /DELETE
  537. #2 NET SHARE makes a server's resources available to network users. When 
  538.    used without options, it lists information about all resources being 
  539.    shared on the computer. For each resource, Windows NT reports the
  540.    devicename(s) or pathname(s) and a descriptive comment associated with it.
  541.  
  542.    sharename          Is the network name of the shared resource. Type 
  543.                       NET SHARE with a sharename only to display information 
  544.                       about that share. 
  545.    drive:path         Specifies the absolute path of the directory to 
  546.                       be shared. 
  547.    /USERS:number      Sets the maximum number of users who can 
  548.                       simultaneously access the shared resource. 
  549.    /UNLIMITED         Specifies an unlimited number of users can 
  550.                       simultaneously access the shared resource
  551.    /REMARK:"text"     Adds a descriptive comment about the resource. 
  552.                       Enclose the text in quotation marks. 
  553.    devicename         Is one or more printers (LPT1: through LPT9:) 
  554.                       shared by sharename.
  555.    /DELETE            Stops sharing the resource. 
  556.  
  557.    NET HELP command | MORE displays Help one screen at a time.
  558. $2        
  559.  
  560.    NET HELP SHARE describes the options for this command.
  561. .2     START
  562. .3           ALERTER
  563. :3
  564. #3 NET START ALERTER starts the Windows NT Alerter service on a server. 
  565.    The Alerter service sends messages about network information to users.
  566.  
  567. $3         
  568.    This command has no options.
  569. .3           CLIPBOOK
  570. .4                    SERVER
  571. :4
  572. #4 NET START CLIPBOOK SERVER starts the Windows NT Clipbook Server service.
  573.    The Clipbook Server service supports cutting and pasting across
  574.    the network. Service names with two words, such as Clipbook Server,
  575.    must be enclosed in quotation marks (") when typed at the 
  576.    command prompt.
  577.  
  578.    NET HELP command | MORE displays Help one screen at a time.
  579. $4
  580.    This command has no options.
  581. :3
  582. #3
  583. $3
  584.  
  585. .3           COMPUTER
  586. .4                    BROWSER
  587. :4
  588. #4 NET START COMPUTER BROWSER starts the Windows NT Computer Browser service
  589.    on a server. The Computer Browser service supports browsing computers 
  590.    on the network and being browsed by other computers on the network. 
  591.    Service names with two words, such as Computer Browser, must be enclosed 
  592.    in quotation marks (") when typed at the command prompt.
  593.  
  594.    NET HELP command | MORE displays Help one screen at a time.
  595. $4
  596.    This command has no options.
  597. :3
  598. #3
  599. $3
  600.  
  601. .3           DIRECTORY
  602. .4                     REPLICATOR
  603. :4
  604. #4 NET START DIRECTORY REPLICATOR starts the Windows NT 
  605.    Directory Replicator service, which copies designated files to 
  606.    specified servers. Service names with two words, such as 
  607.    Directory Replicator, must be enclosed in quotation marks (") when 
  608.    typed at the command prompt. This service can also be started by typing
  609.    NET START REPLICATOR.
  610.  
  611.    NET HELP command | MORE displays Help one screen at a time.
  612. $4
  613.    This command has no options.
  614. :3
  615. #3
  616. $3
  617. .3           EVENTLOG
  618. :3
  619. #3 NET START EVENTLOG starts the event logging service, which logs events on
  620.    the local computer. This service must be started prior to using 
  621.    the Event Viewer to view the logged events.
  622.  
  623.    NET HELP command | MORE displays Help one screen at a time.
  624. $3        
  625.    This command has no options.
  626.  
  627. .3           FILE 
  628. .4                SERVER
  629. :4
  630. #4 NET START FILE SERVER FOR MACINTOSH enables the sharing of files 
  631.    with Macintosh computers. 
  632.  
  633.    This command is available only on Windows NT Servers.
  634.  
  635.    NET HELP command | MORE displays Help one screen at a time.
  636. $4        
  637. :3
  638. #3
  639. $3
  640. .3           FTP
  641. .4               SERVER
  642. :4
  643. #4 NET START FTP SERVER Starts the FTP Server service. 
  644.    This command is available only if the TCP/IP protocol and 
  645.    FTP Server have been installed.
  646.  
  647.    NET HELP command | MORE displays Help one screen at a time.
  648. $4        
  649.    This command has no options.
  650. :3
  651. #3
  652. $3
  653. .3           MESSENGER
  654. :3
  655. #3 NET START MESSENGER starts the Windows NT Messenger service, which
  656.    lets you receive messages from other network users. Typing this command
  657.    also starts the Workstation service if it is not already running. 
  658.  
  659.    NET HELP command | MORE displays Help one screen at a time.
  660. $3        
  661.    This command has no options.
  662.  
  663. .3           NET
  664. .4               LOGON
  665. :4
  666. #4 NET START NET LOGON starts the Windows NT Net Logon service, which
  667.    verifies logon requests and controls replication of the user 
  668.    accounts database. Service names with two words, such as 
  669.    Net Logon, must be enclosed in quotation marks (") when typed
  670.    at the command prompt. This service can also be started by typing
  671.    NET START NETLOGON.
  672.  
  673.    NET HELP command | MORE displays Help one screen at a time.
  674. $4
  675.    This command has no options.
  676. :3
  677. #3
  678. $3
  679.  
  680.    NET HELP START NET LOGON describes this command. It has no options.
  681.  
  682. .3           NETWORK
  683. .4                   DDE
  684. :4
  685. #4 NET START NETWORK DDE starts the Windows NT Network DDE service.
  686.    Service names with two words, such as Network DDE, must be enclosed
  687.    in quotation marks (") when typed at the command prompt. The service
  688.    can also be started by typing NET START NETDDE
  689.  
  690.    NET HELP command | MORE displays Help one screen at a time.
  691. $4
  692.    This command has no options.
  693. :3
  694. #3
  695. $3
  696.  
  697.    NET HELP START NETWORK DDE describes this command. It has no options.
  698.  
  699. .3           RPCLOCATOR
  700. :3
  701. #3 NET START RPCLOCATOR Starts the RPC Locator service. The Locator service 
  702.    is the RPC name service for Windows NT. 
  703.  
  704.    NET HELP command | MORE displays Help one screen at a time.
  705. $3        
  706.    This command has no options.
  707.  
  708. .3           RPCSS
  709. :3
  710. #3 NET START RPCSS starts the Windows NT RPCSS service.
  711.  
  712.    NET HELP command | MORE displays Help one screen at a time.
  713. $3        
  714.    This command has no options.
  715.  
  716. .3           SCHEDULE
  717. :3
  718. #3 NET START SCHEDULE starts the Windows NT Schedule service. 
  719.    The Schedule service must be running to schedule events with 
  720.    the AT command.
  721.  
  722.    NET HELP command | MORE displays Help one screen at a time.
  723. $3        
  724.    This command has no options.
  725.  
  726. .3           SERVER
  727. :3
  728. #3 NET START SERVER starts the Windows NT Server service, which controls
  729.    access to resources.
  730.  
  731.    NET HELP command | MORE displays Help one screen at a time.
  732. $3        
  733.    This command has no options.
  734.  
  735. .3           SNMP
  736. :3                [/LOGLEVEL:level] [/LOGTYPE:type]
  737. #3 Starts the SNMP service. The SNMP service allows a server to report its 
  738.    current status to a simple network management protocol (SNMP) management 
  739.    system on a transport control protocol/internet protocol (TCP/IP) network. 
  740.  
  741.    /LOGLEVEL:level  Determines which events are logged. The higher the number 
  742.                     used for level, the more events will be logged. The 
  743.                     default for level is 1; the range is 1-20.
  744.    /LOGTYPE:type    Determines where the log will be created. The possible 
  745.                     values are 2 for file and 4 for eventlog. The default 
  746.                     is 4. To log events in both a file and the eventlog 
  747.                     use the value 6. The file option creates the 
  748.                     file \WINNT\SNMPDBG.LOG.
  749.  
  750.    NET HELP command | MORE displays Help one screen at a time.
  751. $3        
  752.  
  753.    NET HELP START SNMP describes the options for this command.
  754. .3           UPS
  755. :3
  756. #3 NET START UPS starts the Windows NT UPS service, which
  757.    provides uninterrupted power service to your computer. The UPS service
  758.    must be configured before starting. 
  759.  
  760.    NET HELP command | MORE displays Help one screen at a time.
  761.  
  762. $3        
  763.    This command has no options.
  764.  
  765. .3           WORKSTATION
  766. :3
  767. #3 NET START WORKSTATION starts the Windows NT Workstation service, which
  768.    enables your computer to use shared resources on the network. 
  769.  
  770.    NET HELP command | MORE displays Help one screen at a time.
  771.  
  772. $3        
  773.    This command has no options.
  774.  
  775. :2           [service]
  776. #2 NET START lists running services. 
  777.  
  778.    To get more help about a specific service, 
  779.    see the online Command Reference (NTCMDS.HLP).
  780.  
  781.    service   Is one of the following services:
  782.       ALERTER                      
  783.       CLIENT SERVICE FOR NETWARE  
  784.       CLIPBOOK SERVER              
  785.       COMPUTER BROWSER             
  786.       DHCP CLIENT
  787.       DIRECTORY REPLICATOR         
  788.       EVENTLOG                     
  789.       FTP SERVER                   
  790.       LPDSVC
  791.       MESSENGER                    
  792.       NET LOGON                    
  793.       NETWORK DDE                  
  794.       NETWORK DDE DSDM             
  795.       NETWORK MONITORING AGENT
  796.       NT LM SECURITY SUPPORT PROVIDER
  797.       REMOTE ACCESS CONNECTION MANAGER
  798.       REMOTE ACCESS ISNSAP SERVICE
  799.       REMOTE ACCESS SERVER
  800.       REMOTE PROCEDURE CALL (RPC) LOCATOR
  801.       REMOTE PROCEDURE CALL (RPC) SERVICE
  802.       SCHEDULE
  803.       SERVER
  804.       SIMPLE TCP/IP SERVICES
  805.       SNMP
  806.       SPOOLER
  807.       TCPIP NETBIOS HELPER
  808.       UPS
  809.       WORKSTATION
  810.  
  811.    These services are available only on Windows NT Server:
  812.       FILE SERVER FOR MACINTOSH    
  813.       GATEWAY SERVICE FOR NETWARE  
  814.       MICROSOFT DHCP SERVER
  815.       PRINT SERVER FOR MACINTOSH
  816.       REMOTEBOOT
  817.       WINDOWS INTERNET NAME SERVICE
  818.  
  819.    When typed at the command prompt, service names of two words or more must 
  820.    be enclosed in quotation marks. For example, NET START "COMPUTER BROWSER"
  821.    starts the computer browser service.
  822.  
  823.    NET START can also start network services not provided with Windows NT.
  824.  
  825.    NET HELP command | MORE displays Help one screen at a time.
  826. $2        
  827.  
  828.    NET HELP START describes the options for this command.
  829. .2     STATISTICS
  830. :2                [WORKSTATION | SERVER] 
  831. #2 NET STATISTICS displays the statistics log for the local Workstation or
  832.    Server service. Used without parameters, NET STATISTICS displays 
  833.    the services for which statistics are available.
  834.  
  835.    SERVER       Displays the Server service statistics.
  836.    WORKSTATION  Displays the Workstation service statistics.
  837.  
  838.    NET HELP command | MORE displays Help one screen at a time.
  839. $2        
  840.  
  841.    NET HELP STATISTICS describes the options for this command.
  842. .2     STOP
  843. :2          service
  844. #2 NET STOP stops Windows NT services.
  845.  
  846.    Stopping a service cancels any network connections the service is 
  847.    using. Also, some services are dependent on others. Stopping one
  848.    service can stop others.
  849.  
  850.    You must have administrative rights to stop the Server service. 
  851.    The Eventlog service cannot be stopped.
  852.  
  853.    service   Is one of the following services:
  854.       ALERTER                      
  855.       CLIENT SERVICE FOR NETWARE  
  856.       CLIPBOOK SERVER              
  857.       COMPUTER BROWSER             
  858.       DIRECTORY REPLICATOR         
  859.       FTP SERVER                   
  860.       LPDSVC
  861.       MESSENGER                    
  862.       NET LOGON                    
  863.       NETWORK DDE                  
  864.       NETWORK DDE DSDM             
  865.       NETWORK MONITORING AGENT
  866.       NT LM SECURITY SUPPORT PROVIDER
  867.       REMOTE ACCESS CONNECTION MANAGER
  868.       REMOTE ACCESS ISNSAP SERVICE
  869.       REMOTE ACCESS SERVER
  870.       REMOTE PROCEDURE CALL (RPC) LOCATOR
  871.       REMOTE PROCEDURE CALL (RPC) SERVICE
  872.       SCHEDULE
  873.       SERVER
  874.       SIMPLE TCP/IP SERVICES
  875.       SNMP
  876.       SPOOLER
  877.       TCPIP NETBIOS HELPER
  878.       UPS
  879.       WORKSTATION
  880.  
  881.    These services are available only on Windows NT Server:
  882.       FILE SERVER FOR MACINTOSH    
  883.       GATEWAY SERVICE FOR NETWARE  
  884.       MICROSOFT DHCP SERVER
  885.       PRINT SERVER FOR MACINTOSH
  886.       REMOTEBOOT
  887.       WINDOWS INTERNET NAME SERVICE
  888.  
  889.    NET STOP can also stop network services not provided with Windows NT.
  890.  
  891.    NET HELP command | MORE displays Help one screen at a time.
  892. $2        
  893.  
  894.    NET HELP STOP describes the options for this command.
  895. .2     TIME
  896. :2          [\\computername | /DOMAIN[:domainname]] [/SET]
  897. #2 NET TIME synchronizes the computer's clock with that of another computer
  898.    or domain, or displays the time for a computer or domain. When used without
  899.    options on a Windows NT Server domain, it displays the current 
  900.    date and time at the computer designated as the time server for the domain.
  901.  
  902.    \\computername  Is the name of the computer you want to check or
  903.                    synchronize with.
  904.  
  905.    /DOMAIN[:domainname]  Specifies the domain with which to synchronize time.
  906.  
  907.    /SET            Synchronizes the computer's time with the time
  908.                    on the specified computer or domain.
  909.  
  910.    NET HELP command | MORE displays Help one screen at a time.
  911. $2        
  912.  
  913.    NET HELP TIME describes the options for this command.
  914. .2     USE
  915. :2         [devicename | *] [\\computername\sharename[\volume] [password | *]]
  916.            [/USER:[domainname\]username] 
  917.            [[/DELETE] | [/PERSISTENT:{YES | NO}]]
  918.  
  919.    NET USE [devicename | *] [password | *]] [/HOME]
  920.  
  921.    NET USE [/PERSISTENT:{YES | NO}]
  922.  
  923. #2 NET USE connects a computer to a shared resource or disconnects a 
  924.    computer from a shared resource. When used without options, it lists 
  925.    the computer's connections.
  926.  
  927.    devicename       Assigns a name to connect to the resource or specifies 
  928.                     the device to be disconnected. There are two kinds of 
  929.                     devicenames: disk drives (D: through Z:) and printers 
  930.                     (LPT1: through LPT3:). Type an asterisk instead of a 
  931.                     specific devicename to assign the next available
  932.                     devicename.
  933.    \\computername   Is the name of the computer controlling the shared 
  934.                     resource. If the computername contains blank characters, 
  935.                     enclose the double backslash (\\) and the computername 
  936.                     in quotation marks (" "). The computername may be from 
  937.                     1 to 15 characters long. 
  938.    \sharename       Is the network name of the shared resource. 
  939.    \volume          Specifies a NetWare volume on the server. You must have
  940.                     Client Services for Netware (Windows NT Workstations)
  941.                     or Gateway Service for Netware (Windows NT Server) 
  942.                     installed and running to connect to NetWare servers.
  943.    password         Is the password needed to access the shared resource. 
  944.    *                Produces a prompt for the password. The password is 
  945.                     not displayed when you type it at the password prompt. 
  946.    /USER            Specifies a different username with which the connection
  947.                     is made. 
  948.    domainname       Specifies another domain. If domain is omitted,
  949.                     the current logged on domain is used.
  950.    username         Specifies the username with which to logon.
  951.    /HOME            Connects a user to their home directory.
  952.    /DELETE          Cancels a network connection and removes the connection
  953.                     from the list of persistent connections. 
  954.    /PERSISTENT      Controls the use of persistent network connections. 
  955.                     The default is the setting used last. 
  956.    YES              Saves connections as they are made, and restores
  957.                     them at next logon. 
  958.    NO               Does not save the connection being made or subsequent 
  959.                     connections; existing connections will be restored at 
  960.                     next logon. Use the /DELETE switch to remove 
  961.                     persistent connections.
  962.    NET HELP command | MORE displays Help one screen at a time.
  963. $2        
  964.  
  965.    NET HELP USE describes the options for this command.
  966. .2     USER
  967. :2          [username [password | *] [options]] [/DOMAIN]
  968.             username {password | *} /ADD [options] [/DOMAIN]
  969.             username [/DELETE] [/DOMAIN]
  970. #2 NET USER creates and modifies user accounts on computers. When used
  971.    without switches, it lists the user accounts for the computer. The 
  972.    user account information is stored in the user accounts database.
  973.  
  974.    This command works only on servers.
  975.  
  976.  
  977.    username     Is the name of the user account to add, delete, modify, or 
  978.                 view. The name of the user account can have as many as 
  979.                 20 characters. 
  980.    password     Assigns or changes a password for the user's account. 
  981.                 A password must satisfy the minimum length set with the 
  982.                 /MINPWLEN option of the NET ACCOUNTS command. It can have as 
  983.                 many as 14 characters. 
  984.    *            Produces a prompt for the password. The password is not 
  985.                 displayed when you type it at a password prompt. 
  986.    /DOMAIN      Performs the operation on the primary domain controller of 
  987.                 the current domain. 
  988.  
  989.                 This parameter applies only to Windows NT 
  990.                 Workstation computers that are members of 
  991.                 a Windows NT Server domain. By default, 
  992.                 Windows NT Server computers perform 
  993.                 operations on the primary domain controller. 
  994.    /ADD         Adds a user account to the user accounts database. 
  995.    /DELETE      Removes a user account from the user accounts database. 
  996.  
  997.    Options      Are as follows:
  998.  
  999.       Options                    Description
  1000.       --------------------------------------------------------------------
  1001.       /ACTIVE:{YES | NO}         Activates or deactivates the account. If 
  1002.                                  the account is not active, the user cannot
  1003.                                  access the server. The default is YES.
  1004.       /COMMENT:"text"            Provides a descriptive comment about the
  1005.                                  user's account (maximum of 48 characters).
  1006.                                  Enclose the text in quotation marks. 
  1007.       /COUNTRYCODE:nnn           Uses the operating system country code to
  1008.                                  implement the specified language files for a
  1009.                                  user's help and error messages. A value of
  1010.                                  0 signifies the default country code. 
  1011.       /EXPIRES:{date | NEVER}    Causes the account to expire if date is
  1012.                                  set. NEVER sets no time limit on the
  1013.                                  account. An expiration date is in the
  1014.                                  form mm/dd/yy or dd/mm/yy, depending on the
  1015.                                  country code. Months can be a number,
  1016.                                  spelled out, or abbreviated with three
  1017.                                  letters. Year can be two or four numbers.
  1018.                                  Use slashes(/) (no spaces) to separate
  1019.                                  parts of the date. 
  1020.       /FULLNAME:"name"           Is a user's full name (rather than a 
  1021.                                  username). Enclose the name in quotation
  1022.                                  marks.
  1023.       /HOMEDIR:pathname          Sets the path for the user's home directory. 
  1024.                                  The path must exist.
  1025.       /PASSWORDCHG:{YES | NO}    Specifies whether users can change their
  1026.                                  own password. The default is YES.
  1027.       /PASSWORDREQ:{YES | NO}    Specifies whether a user account must have
  1028.                                  a password. The default is YES.
  1029.       /PROFILEPATH[:path]        Sets a path for the user's logon profile.
  1030.       /SCRIPTPATH:pathname       Is the location of the user's logon
  1031.                                  script.
  1032.       /TIMES:{times | ALL}       Is the logon hours. TIMES is expressed as
  1033.                                  day[-day][,day[-day]],time[-time][,time
  1034.                                  [-time]], limited to 1-hour increments.
  1035.                                  Days can be spelled out or abbreviated.
  1036.                                  Hours can be 12- or 24-hour notation. For
  1037.                                  12-hour notation, use am, pm, a.m., or
  1038.                                  p.m. ALL means a user can always log on,
  1039.                                  and a blank value means a user can never 
  1040.                                  log on. Separate day and time entries with 
  1041.                                  a comma, and separate multiple day and time
  1042.                                  entries with a semicolon.
  1043.       /USERCOMMENT:"text"        Lets an administrator add or change the User 
  1044.                                  Comment for the account. 
  1045.       /WORKSTATIONS:{computername[,...] | *}
  1046.                                  Lists as many as eight computers from
  1047.                                  which a user can log on to the network. If 
  1048.                                  /WORKSTATIONS has no list or if the list is *,
  1049.                                  the user can log on from any computer.
  1050.  
  1051.    NET HELP command | MORE displays Help one screen at a time.
  1052. $2        
  1053.  
  1054.    NET HELP USER describes the options for this command.
  1055. .2     VIEW
  1056. :2          [\\computername | /DOMAIN[:domainname]]
  1057.    NET VIEW /NETWORK:NW [\\computername]
  1058. #2 NET VIEW displays a list of resources being shared on a computer. When used
  1059.    without options, it displays a list of computers in the current domain or
  1060.    network.
  1061.  
  1062.    \\computername             Is a computer whose shared resources you want 
  1063.                               to view.
  1064.    /DOMAIN:domainname         Specifies the domain for which you want to 
  1065.                               view the available computers. If domainname is
  1066.                               omitted, displays all domains in the local area
  1067.                               network.
  1068.    /NETWORK:NW                Displays all available servers on a NetWare 
  1069.                               network. If a computername is  specified, the
  1070.                               resources available on that computer in 
  1071.                               the NetWare network will be displayed.
  1072. $2        
  1073.  
  1074.    NET HELP VIEW describes the options for this command.
  1075. :1
  1076. #1    
  1077.  
  1078.    The keyword NET specifies Windows NT commands.
  1079.  
  1080.    NET HELP command | MORE displays Help one screen at a time.
  1081. .1 NAMES
  1082. :1
  1083.  
  1084.    The following types of names are used with Windows NT:
  1085.  
  1086.    Messaging Name    A name to which messages can be sent. Each computer's
  1087.                      computername and the username logged on at that
  1088.                      comptuer are added to its list of names. Use the 
  1089.                      NET NAME command to view a computer's names or to
  1090.                      add new ones.
  1091.  
  1092.    Computername      A unique name that identifies a computer on
  1093.                      the local-area network.
  1094.  
  1095.    Devicename        The name by which Windows NT identifies a disk resource 
  1096.                      or printer. A disk resource is identified by a drive 
  1097.                      letter followed by a colon (for example, D:). A 
  1098.                      printer is identified by a port name followed by a colon
  1099.                      (for example, LPT1:).
  1100.  
  1101.    Workgroup         A group of computers on the network. Each workgroup
  1102.                      has a unique name. 
  1103.  
  1104.    Localgroup        A group of names in a Workgroup that are granted the 
  1105.                      same rights.
  1106.  
  1107.    Domain            A group of Windows NT Servers, Windows NT Workstations
  1108.                      and other computers on the network. A 
  1109.                      domain has a unique name. Usually, you must log on in 
  1110.                      a domain to gain access to the network. Domains are 
  1111.                      created and managed with Windows NT Server.
  1112.  
  1113.    Global group      A group of names in a domain that are granted the
  1114.                      same rights.
  1115.  
  1116.    Filename          The name of a file. Under the file allocation table 
  1117.                      (FAT) file system, a filename can have as many as eight
  1118.                      characters, followed by a period (.) and an extension of
  1119.                      as many as three characters. Under NTFS and HPFS, a 
  1120.                      filename can have as many as 254 characters. 
  1121.  
  1122.    Network path      A description of the location of a shared resource, 
  1123.                      consisting of a computer's computername followed by 
  1124.                      the sharename of the resource. The computername 
  1125.                      is preceded by two backslashes, and the sharename is 
  1126.                      preceded by one backslash (for example, 
  1127.                      \\SERVER1\RESOURCE).
  1128.  
  1129.    Path              The location of a directory. A path can consist of a 
  1130.                      devicename and one or more directory names. A 
  1131.                      backslash (\) precedes each directory name (for example,
  1132.                      C:\CUSTOMER\CORP\ACCT).
  1133.  
  1134.    Pathname          A path and a filename. The filename is preceded by a 
  1135.                      backslash (\) (for example, C:\CUSTOMER\CORP\REPORT.DOC).
  1136.  
  1137.    Sharename         A name that identifies a shared resource on a computer. A
  1138.                      sharename is used with the computer's computername to form 
  1139.                      a network path (as in \\SERVER\RESOURCE).
  1140.  
  1141.    Username          The name a person supplies when logging on at 
  1142.                      a computer.
  1143.  
  1144.    To view these definitions one screen at a time, type NET HELP NAMES | MORE.
  1145. #1
  1146. $1 There are no options for this topic. This is a help topic about the
  1147.    different types of names Windows NT uses. It is not a NET command.
  1148.  
  1149. :0
  1150. #0
  1151. /*
  1152.     This is how this file works. NET HELP looks for a match between the command
  1153.     specified at run time and one of the entries in this file. For each entry
  1154.     in this file there can be associated with it a subentry, which constitutes
  1155.     an switch for that command (or sub-command). HELP (NET HELP) first searches
  1156.     for a match at level 1. If it finds a match at this level it continues
  1157.     searching for a sub-level (if one was specified at run time). As HELP
  1158.     finds matches it displays them , by doing so it builds the command
  1159.     in it's proper syntax. If no sub commands were entered at run time HELP
  1160.     stops and displays the help associated with that level.
  1161.  
  1162.     SOME RULES:
  1163.       Operators are the funny 2 character symbols that start every line -
  1164.       they are the characters !, %, ., :, and # followed by a alphanumeric
  1165.       character.
  1166.  
  1167.       Every operator must start in column 1.
  1168.  
  1169.       Every operator must be separated from the info that follows it by at
  1170.       least one space.
  1171.  
  1172.       The end of every line must contain a newline. (Trailing spaces will
  1173.       causes matches to fail on ".X" entries.)
  1174.  
  1175.       Every ".1" entry MUST have a corresponding "#1" entry.
  1176.  
  1177.  
  1178.     This file consists of 4 sections. These sections are ...
  1179.  
  1180.      COMMENTS are delimited by a "/*" at the beginning of a line (must
  1181.          start in column 1) indicating the beginning of the comment section.
  1182.          A "*/" at the beginning of a line marks the end of the comment sec-
  1183.          tion. Only two comment section are allowed, one at the very be-
  1184.          ginning of the file and one at the very end. It is recommended that
  1185.          the comment section at the beginning of the file be kept very
  1186.          small to minimize access time to "help data" by the help command.
  1187.  
  1188.      ALIASES are defined by a "%A" beginning in column 1. Aliases allow
  1189.          you to define another name for a given command. For example if
  1190.          you wish to change the name of the "ALERTER" to "WATCHDOG"
  1191.          you could do so by entering the line,
  1192.  
  1193.                 %A ALERTER: WATCHDOG
  1194.  
  1195.          starting at column 1. If there are additional Aliases they should
  1196.          be specified on the same line separated by commas. This tells the
  1197.          help command that if someone types "net help watchdog" they really
  1198.          mean "net help alerter."  Trailing spaces are significant (for this
  1199.          release) in alias names. Beware!
  1200.  
  1201.      COMMANDS are additional commands that you want NET HELP to document.
  1202.          They are defined by placing !C operator (yes starting in column
  1203.          1) followed by the command name on a separate line.
  1204.          An example of this is the AT commands. This
  1205.          is not really NET commands but you can get help on it through
  1206.          NET by entering it with the COMMANDS section in this file. For
  1207.          example if you want to get help on your PHONE command that you wrote
  1208.          and the only help utility you have is the NET HELP utility. To
  1209.          add phone to this utility you must place the following line in the
  1210.          Commands section of this file,
  1211.  
  1212.                !C PHONE
  1213.  
  1214.          starting in column 1. Now all that remains is to add the PHONE
  1215.          help data to the DATA section of this file. (See DATA below)
  1216.          (YES, you can assign aliases to commands that you declare in this
  1217.          section. But you must assign the aliases in the alias section
  1218.          first.)
  1219.  
  1220.      DATA is the actual text that gets printed when you request help.
  1221.          The format for the data section is set up in a way such that
  1222.          the NET HELP command picks up information about a command as it
  1223.          reads through this file. The format of the data section is as
  1224.          follows;
  1225.  
  1226.          The Command Name (this is the proper name used to reference a
  1227.          specific command - any other name used to access this command should
  1228.          be entered in the alias list above) should be preceded by a
  1229.          ".1". This defines that this Command Name would normally be the
  1230.          first thing typed when entering the command. An example of a ".1"
  1231.          Command Name would be NET. When HELP finds this entry, it knows
  1232.          what follows pertains to the NET command. What follows this ".1"
  1233.          entry can be one of 2 possible fields. The syntax operator ":1" or
  1234.          a sub switch operator ".2".
  1235.  
  1236.               Another option of the NET command could follow. If, as it
  1237.          does, the NET command has many options that can be specified, they
  1238.          should be enumerated on separate lines.  Each level of help for a
  1239.          specific command constitutes a higher "dot number". I think an
  1240.          example would make this clearer. Lets look at a help entry for the
  1241.          NET START command. The NET START command has additional options.
  1242.          NET START [SERVER WORKSTATION ALERTER ...etc]. In this example NET
  1243.          is the ".1" entry, START is a ".2" entry and SERVER, WKSTA, and
  1244.          ALERTER are all ".3" entries.
  1245.  
  1246.          .1     NET
  1247.          .2         START
  1248.          .3          SERVER
  1249.          .3          ALERTER
  1250.          .3          WORKSTATION
  1251.  
  1252.          In the example above I indented each level, this helps you
  1253.          visualize what's going on and is legal to do as long as the
  1254.          .X starts in column 1.
  1255.  
  1256.          This is all fine and well but what about the help for NET
  1257.          START SERVER. As stated before HELP allows two levels of
  1258.          assistance , Syntax and Help. You may choose to have the help
  1259.          be the same for all NET START options but obviously want
  1260.          different syntax displayed for each option. In order to do
  1261.          this you must place the help for any option (or sub-option)
  1262.          in the file prior to the help for the actual command. Sticking
  1263.          with our original example, lets assume that the SERVER and
  1264.          the WORKSTATION have enough in common that they want to share
  1265.          the same help message, but the alerter has some different
  1266.          information. We can accomplish this by specifying syntax, but
  1267.          no help for the SERVER and WORKSTATION options and specifying
  1268.          both for the ALERTER.
  1269.  
  1270.          .1     NET
  1271.          .2         START
  1272.          .3          SERVER
  1273. (Syntax)    :3              /Security /Autodisconnect ...etc
  1274.          .3          ALERTER
  1275. (Syntax)    :3
  1276. (Help)         #3              The alerter is the service that bla bla bla...etc
  1277.          .3          WORKSTATION
  1278.  
  1279. (Syntax)    :3              /Computername /Chartime ...etc
  1280. (Syntax)    :2
  1281. (Help)         #2          This is the help for NET START bla ... etc
  1282.  
  1283.           In the example above you will note a couple of things.
  1284.          First, I introduced two new operators ":" and "#". As indicated by
  1285.          the parentheses the ":" operator defines syntax data and "#"
  1286.          defines help data. Secondly, you may have noticed there were no
  1287.          syntax entries for the NET START ALERTER or NET START. In the
  1288.          case of NET START ALERTER, there may be no more syntax to be
  1289.          specified, since HELP generates the syntax as it reads the entries.
  1290.          In the case of NET START, leaving the syntax field blank, tells
  1291.          HELP to generate an option lists for the START command from the
  1292.          .3 entries found contained in the START section. If however,
  1293.          syntax information would have been placed there, HELP would have
  1294.          displayed the supplied information.
  1295.  
  1296.           This behavior can be expanded to 8 levels of sub-options.
  1297.          All level 1 (".1") entries must have a help ("#1") entry. The end
  1298.          of the data section must be marked by the following lines,
  1299.  
  1300.          :0
  1301.          #0
  1302.  
  1303.          beginning in column 1. There can be no more than 512 characters in
  1304.          the option field including the spaces between the options and the
  1305.          brackets. White space following the ".X" operators is ignored, white
  1306.          space following the ":X" and "#X" operators is printed exactly as
  1307.          entered. If data is entered on the next line following the syntax or
  1308.          help operators it is printed as entered, except that the first three
  1309.          columns are always ignored.
  1310.  
  1311. */
  1312.  
  1313.